/**
 * Author(s): xuming.Wong <xuming.Wong@gmail.com>
 * Origin source from MaNGOS(GPL2).
 * Copyright (C) 2005-2010 MaNGOS <http://getmangos.com/>
 */

#ifndef __OBJECT_ACCESSOR_H__
#define __OBJECT_ACCESSOR_H__

namespace PQCore
{
	class ObjectAccessor
	{
	public:
		static ObjectAccessor& getSingleton()
		{
			static ObjectAccessor inst;
			return inst;
		}

		bool RemoveOldCorpses();
	};
}
#define SObjectAccessor PQCore::ObjectAccessor::getSingleton()

#endif
